package com.allwees.bs.module.mms.service;

import com.allwees.bs.module.base.service.BoService;
import com.allwees.bs.module.mms.entity.RetailerApply;
import com.allwees.bs.module.mms.req.RetailerApplyAuditReq;
import com.allwees.bs.module.mms.req.register.RetailerRegisterAccountReq;
import com.allwees.bs.module.mms.req.register.RetailerRegisterBaseReq;
import com.allwees.bs.module.mms.req.register.RetailerRegisterResendNewEmailReq;
import com.allwees.bs.module.mms.req.register.RetailerRegisterResendReq;
import com.allwees.bs.module.mms.req.register.RetailerRegisterVerifyReq;

/**
 * 零售商入驻申请Service
 *
 * @author yangylsky
 * @since 2019-12-03
 *
 */
public interface RetailerApplyService extends BoService<RetailerApply> {

    /**
     *
     * @param req
     * @return
     */
    RetailerApply registerVerify(RetailerRegisterVerifyReq req);

    void registerResend(RetailerRegisterResendNewEmailReq req);

    void registerResend(RetailerRegisterResendReq req);

    /**
     *
     * @param uuid
     */
    void registerEmailVerify(String uuid);

    /**
     *
     * @param req
     * @return
     */
    RetailerApply registerBase(RetailerRegisterBaseReq req);

    /**
     *
     * @param req
     * @return
     */
    RetailerApply registerAccount(RetailerRegisterAccountReq req);

    /**
     *
     * @param uuid
     */
    boolean registerIsEmailVerified(String uuid);

    /**
     * 平台审核
     * @param req
     */
    void audit(RetailerApplyAuditReq req);

    /**
     * 审核状态
     * @param phone
     * @return
     */
    String findAuditStatus(String phone);


}
